#ifndef CFONTS_H
#define CFONTS_H
#include "CTextures.h"

#ifdef DEBUG
#include "../../logger/Clogger.h"
#endif
class CFonts
{
public:
    static CFonts* Instance();
    static void Destroy();
    static void Release();

    //virtual ~CFonts();
    void buildFonts();
    void killFont();
    void glPrint(GLint x, GLint y, char *string, int set);
protected:
    static CFonts* _instance;
    static int _refCount;
    CFonts() {};
private:
    CTextures *m_fontTex;

    GLuint	base;									// Base Display List For The Font
   // GLuint	texture[2];								// Storage For Our Font Texture
    GLuint	loop;									// Generic Loop Variable

    GLfloat	cnt1;									// 1st Counter Used To Move Text & For Coloring
    GLfloat	cnt2;									// 2nd Counter Used To Move Text & For Coloring

};

#endif // CFONTS_H
